package com.xczz.common.base;

import com.xczz.common.result.RestResult;

public class BaseController {
    protected RestResult toAjax(int rows){
        return rows>0?RestResult.success():RestResult.error();
    }
}
